Skip to content

Conversation

@nordic-krch
Copy link
Contributor

max_stddev calculation was previously patched to be more at least 1 system clock cycle to cover for platforms that use higher frequency system clock (32kHz). On that platform (nRF52) system clock frequency was the same as tick frequency but on nRF54x that is no longer true. Initially, the intention was to use 1 system tick and not cycle. Fixing it now.

max_stddev calculation was previously patched to be more at least
1 system clock cycle to cover for platforms that use higher frequency
system clock (32kHz). On that platform (nRF52) system clock frequency
was the same as tick frequency but on nRF54x that is no longer true.
Initially, the intention was to use 1 system tick and not cycle.
Fixing it now.

Signed-off-by: Krzysztof Chruściński <[email protected]>
@sonarqubecloud
Copy link

@TaiJuWu
Copy link
Member

TaiJuWu commented Jul 19, 2025

It is good for adding which previous commit to fix platform issue.

@cfriedt cfriedt merged commit 26fe43d into zephyrproject-rtos:main Jul 22, 2025
23 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants